<?
$to = "imam@sumarsono.com";
$from_header = "From: bpsdmp@kemdiknas.go.id";
$contents = "uji coba satu";
if($contents != "")
{
   //send mail - $subject & $contents come from surfer input
   $subject="Percobaan pertama";
   mail($to, $subject, $contents, $from_header);
   // redirect back to url visitor came from
   header("Location: $HTTP_REFERER");
}
  else
{
   print("<HTML><BODY>Error, no comments were submitted!");
   print("</BODY></HTML>");
}
?>